const navList = {
  state: {
    list: [
      {
        title: '首页',
        index: '/',
        icon: require('@/assets/-svg/home.svg'),
        children: [
          { title: 'CRM', index: '/' },
          { title: '通讯录', index: '/home/address' },
          { title: '公告', index: '/home/notice' },
          { title: '任务下达', index: '/home/task' }
        ]
      },

      {
        title: '轮播管理',
        index: '/carousel/set',
        icon: require('@/assets/-svg/home.svg'),
        children: [
          {
            title: '轮播图设置',
            index: '/carousel/set'
          }
        ]
      },

      {
        title: '文章管理',
        index: '/article',
        icon: require('@/assets/-svg/home.svg'),
        children: [
          {
            title: '文章设置',
            index: '/article'
          }   
        ]
      },

      {
        title: '送货管理',
        index: '/delivery',
        icon: require('@/assets/-svg/home.svg'),
        children: [
          {
            title: '员工管理',
            index: '/delivery/staff'
          }
        ]
      },
      {
        title: '会员管理',
        index: '/member',
        icon: require('@/assets/-svg/home.svg'),
        children: [
          {
            title: '会员管理',
            index: '/member/manageData'
          },
          {
            title: '会员关系',
            index: '/member/relationData'
          },
          {
            title: '会员账单',
            index: '/member/bill'
          },
          {
            title: '提现管理',
            index: '/member/withdraw'
          },
          {
            title: '等级记录',
            index: '/member/grade'
          },
          {
            title: '分享奖励记录',
            index: '/member/reward'
          },
          {
            title: '充值记录',
            index: '/member/recharge'
          }
        ]
      },

      {
        title: '订单管理',
        index: '/order',
        icon: require('@/assets/-svg/home.svg'),
        children: [
          {
            title: '订单详情',
            index: '/order'
          }
        ]
      },

      {
        title: '商品管理',
        index: '/commodity',
        icon: require('@/assets/-svg/home.svg'),
        children: [
          {
            title: '商品分类',
            index: '/commodity/classification'
          },
          {
            title: '品牌管理',
            index: '/commodity/mangeBrand'
          },
          {
            title: '商品管理',
            index: '/commodity/mangeCommodity'
          },
          {
            title: '商品规格',
            index: '/commodity/specification'
          },
          {
            title: '商品相册',
            index: '/commodity/Album'
          },
          {
            title: '商品评价',
            index: '/commodity/Evaluation'
          }
        ]
      },

      {
        title: '系统设置',
        index: '/system',
        icon: require('@/assets/-svg/home.svg'),
        children: [
          {
            title: '系统设置',
            index: '/system/set'
          }
        ]
      },
      // {
      //   title: '业绩详情',
      //   index: '/performance',
      //   icon: require('@/assets/-svg/home.svg')
      // },

      // {
      //   title: '个人资料',
      //   index: '/user?name=foo',
      //   icon: require('@/assets/-svg/home.svg')
      // }

      // {
      //   title: '模板',
      //   index: '',
      //   icon: require('@/assets/-svg/菜单.svg'),
      //   children: [
      //     { title: '基础表格', index: '/base-table' },
      //     { title: '富文本', index: '/base-editor' },
      //     { title: '基础表单', index: '/base-form' }
      //   ]
      // }
    ]
  }
}

export default navList
